package com.jic.product.manage.request;

import com.jic.common.base.vo.BaseEntity;
import com.jic.product.manage.request.base.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 产品批量修改价格或库存
 *
 * @author admin
 * @date 2020/04/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductBatchUpdateRequest extends BaseEntity {

  @ApiModelProperty(notes = "商品id")
  private Long id;

  @ApiModelProperty(notes = "商品价格或者库存")
  private Long num;

  @ApiModelProperty(notes = "价格/库存集合")
  private List<ProductBatchUpdateRequest> productBatchUpdateRequestList;
}
